package com.hyt.it.ogt.kq.service.gov.model.vo.arrange;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@Accessors
public class ArrangeResultByRoomVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "考场ID", hidden = true)
    private String roomId;

    @ApiModelProperty(value = "考点名称")
    private String placeName;

    @ApiModelProperty(value = "考场名称")
    private String roomName;

    @ApiModelProperty(value = "所属机构")
    private String dept;

    @ApiModelProperty(value = "所属区域")
    private String area;

    @ApiModelProperty(value = "考位数")
    private int seatNum;

    @ApiModelProperty(value = "批次科目", hidden = true)
    private String timeSubjectIds;

    @ApiModelProperty(value = "批次列表")
    private List<Time> timeList = new ArrayList<>();

    @Data
    public static class Time {
        @ApiModelProperty(value = "批次", hidden = true)
        private String timeId;
        private List<Subject> subjectList = new ArrayList<>();
        @Data
        public static class Subject {
            @ApiModelProperty(value = "科目人数")
            private int subjectNum;
            @ApiModelProperty(value = "科目名称")
            private String subjectName;
        }
    }
}


